package com.example.utils;

//经常用到的常量
public class Const {
    public static final String JWT_BLACK_LIST = "jwt:blacklist:";

    //用户
    public final static String USER_BLACK_LIST = "user:blacklist:";

    public static final String VERIFY_EMAIL_LIMIT = "verify:email:limit:";
    public static final String VERIFY_EMAIL_DATA = "verify:email:data:";

    public static final int ORDER_CORS = -102;
    public static final int ORDER_LIMIT = -101;

    public static final String FLOW_LIMIT_COUNTER = "flow:counter:";
    public static final String FLOW_LIMIT_BLOCK = "flow:block:";

    public static final String ATTR_CLIENT = "client";
    public final static String ATTR_USER_ROLE = "userRole";
    public final static String ROLE_DEFAULT = "admin";
    public final static String ROLE_NORMAL = "user";
}
